Fix sidebar layout on small devices (fixes #3)