Added a cursor based view pager