use an input object
detect arrow keys specially