add feature to browse images with arrow keys