Made sure elements aren't attached before the slide is displayed. Reduces loading of media and speeds up page rendering.
Merge branch 'master' into api-1.1
Merge branch 'api-1.1' into api-1.2
Merge branch 'api-1.2' into cp-1.1

Conflicts:
	library.json