fix loader and page centering