Why my form is shaking when dropdown selection is changed?