cleaned up tab key binding