added auto scroll support