slide working properly