added panning for presentation view