Inflate the view pager from XML layout