New file for linegraph stuff; Added bounded zooming and panning