What to change in topview()

This code is giving bottom view


what to change in top view.