Smooth panning and swiping with manual animation