added scroll to top, on register and login page, on focus out