css fix on events