Display next image when pressing a key.