changed hide/show style of loading