Making the added/edited element scroll into view