Test complete slide and fix off-by-one bug