add offset to scroll functioanlity