extend support for paging in RTL languages