Update camera rotation logic