Fixing drawing graph lines when resizing panel
Clean-up
Changing scale with panel TrackBar