keyboard can move the rectangle