Arrow key support for navigating box