Fix swiping issue when body does not fill the screen.