Fixed issue with paging in landscape