Make pager work on rotation