added spinners and css transitionage