support up and down keys