compleated camera rotation code