Fixed broken layout on resizing window for ons-sliding-menu.