Adding code to toggle classes and show children when sidemenu is open