added panning reset