no need to recompute the width anymore
remove debug code
fixed stuff in the tutorial
modified SVGPan to suit my needs, adding it here since BSD