added panning tracking support