Allow for showing part of the tableview when map is expanded. Change amountOfTableToShow param to set how much of the tableview to show when map is expanded. Tapping on table when map is expanded hides the map.