Changed height measurements to try and fix sliding pane bug