Removed legacy code modifying .open class on toggles

Fixes #1311