sideMenuController: fixed undefined exception when using just one side menu