fixed topbar UI, added -- miles onload