Switching keyboard navigation to switch statement - returning false to avoid scrolling screen