Moved collapse functionallity to nocms-admin-ui.js