just before replacing slidemenu