fix JS event handler removal
Merge pull request #282 from ministryofjustice/fix_js_handler_removal

Fix JS event handler removal
animate show/hide, scroll to top, inc tests
300ms sleep to pass test - ouch!