Added functionality to handle click event on horizontal sliding view Pager