fixed issues when resizing window while sidr is open

Inline styles added to the body cause weird results when resizing the window. So programmatically close Sidr on window resize.