adding first batch of css, implementing keydown event on gallery