fixed next buttons on photos