make the rect movable with the keyboard