Remove content divs when not shown

Prevents autoplays from running in the background.

fixes #146