updated scrolling sample. threading make some strange behaviours oO