reorganize canvas and sliding