added panning for smoother effect