Improve validation scroll to element positions