correct slides behaviour