Updating styles for loading animation