Prevent sidebar from breaking when zooming