Make the topbar responsive

It closes #294.