sideMenuController: fixed undefined exception when using just one side menu

When using just one of the side menus, an 'undefined' exception was encountered.  'this.right' and/or 'this.left' was undefined, causing a javascript error.