nocompile switch / active selection logic and css