implemented viewpager with camera