fixing slide buttons