added pan camera functionality to level