fixed toggle view non standard events bug