Implemented move method for panels