Added sync on end for swiping