Removed jQuery dependency, replaced implementation with display switch; unlike original visibility switch, this way there are no issues with components lagging behind their containers