add left/right arrow key support for changing state