fix the topbar and loader's top attribute.