disabling navigation keys