fixed swap view to hide search bar in map view