made more generic: scroll to invalid input
now works for all forms, password input does not work correctly