add auto focus support, can automatically display pdfs and continues scanning