zooming and panning now working with borders and lines