Arrow Keys functionality added