You're making this decision based on the scroll position and whether it's precisely equal to the center panel's offset. I assume the scroller pages, but if it didn't, this would be incorrect. I think you should instead do this in terms of offset ranges for each panel, and just see if your center scroll offset is in that panel's range.