add resize function for canvasses, normalize volume to 0-1