loading gif is added and page style is changed