in the gpu gems book there's some sine wave formula for smooth random-looking movement. if you'd apply that on pan, maybe with slight modification, you'll probably get what you want. i'll post the formula later on.