How to stop auto scrolling of the form?