sideMenu: only update zIndex (change the dom) when you need to