auto positioning the loader spinner