added list scroll logic