Added next and previous for photos