Revert "Removed workaround code which doesn't seem to be needed anymore."

This reverts commit 668d1395ba1417b072bceefb1affa1216f736ac8.
added css for animation control panels
fixed little error when rebasing
fixed tests
Merge pull request #372 from aodn/issue_343_bisect

Issue 343 bisect 
fixes the bug