Fix form validate if scrollDuration == 0.
Change messages to a single style
Merge pull request #365 from vsn4ik/master

Fix form validate if scrollDuration == 0.