making layers horizontally scrolling
making controls vertically scrollable
increasing height of control panel
layers adjustment
reformatting code to make more readable