Added left/right key navigation for gallery images