It now works with items that are larger and shorter than 100% height