selecting and opening images in viewer via keyboard