fix slidemenu when widths are different

max value was based on only menu width, made it so that it varries based on menu and aside_menu
Merge pull request #530 from krisrak/slidemenu-width-fix

fix slidemenu when widths are different