Changed hasMenu to hasAside when enabling and disabling right side menu.

You are not able to enable or disable the right side menu in the current version. Here is the fix.