added a property to disable sliding