fixed timing; shrinking canvas in css