If you use letterbox fullscreen mode with bounded scrolling, the part overflowing the edge of the layout will never appear anyway. So you don't need to worry about hiding it. There is no performance problem, either, because content off-screen is not rendered.