added spacebar navigation support