Fix close button on search page panel

Also cleaned up some of the jade in standalone app