Add methods to initialize the ControlPanel.
1) Adjust it location when appearing.
2) Encapsulate the operations into methods.