move endingBlock for mobile