document can load from PDF. Fixed scroller bugs