all the gltranslate for components is done inside components.Added similar logic for theta and phi