fix bug for off-canvas menu on bootstrap 2 base

fix #296