bugfix for sidebar on mobile devices