changed getData to getValue for changeVisibility in scroller