add camera rotation funtion