bars move up or down on keypress