add auto scroll-to-specific view function