avoid code blocks falling off bottom on ipad non-app