fixed bug with scrolling on training