using animation to scroll to newly added vertex