fixing listOffset.top calculating bug