restricting page redirection issues with respectively menus