scroll to edited block functionallity