image click implemented for viewpager