Got panning working with the pencil tool, now on to the others.