Fixed a view pager issue