move top bar to base.html