added slide content and arrow key event handling