fixed issues when resizing window while sidr is open due to inline styles