Added slider destroy method