working on camera pan improvment