updated for fingerscroll functionality