fix the view pager tab issue