added method scrollInView and updated docs