added event handlers on keypress for right and left arrows to move through carousel