Handle logic of gesture when each section has different amount of cells