Updated ready for merging of other components
Fixed to use previous element's autoscroll property
Changed example