Revert .hide instead .detach until I can come up with a better solution.