Added panning (still needs bounds)