added ability to move the frame around with the mouse