update photoview to the viewpager