Add custom listener for infinite view pager & revise logic of infinite view pager listener