fix margin bug for next() after cycling through all slides