Changed the layout of pins view