removes error message if a successfull call is made
fixed bug to only deregister one handler on scroll end