reduce canvas size. reconfigure layout