Added left/right arrow photo navigation functionality on modal