align loader and resize.