Added one way paging when exceed terminal height