Adds extra rule to handle main menu on window resize