added keyboard, click, index and opacity to images