cleanup af.slidemenu checks to be consistent with #506