Added next photo and previous photoactions