improve page overlay on vertical swipe (though not working on android)