Added support for resizing body element on sidebar open