Fixed arrow keys changing tabs