Added API for programmatic scroll