The workspace to switch is obtained from the direction received by the WorkspaceSwitchAction gesture.