added scroll to top on login error