Better display of transitions + canvas resizing