[#50595763] Fixed bug that caused the sidebar to remain hidden when moving from mobile to desktop window size; added library for triggering the resize event just once, at the end of the resize.