fixing listOffset.top calbulating bug