Animate scroll on edit