Havn't resolved it myself yet, even using rotate rather than pan despite the collision system used. (Mind you, thats not saying much as my comprehension regarding scripting is rudumentary, even after 4 years!)
Very interested to find a solution with current version.