Sliding disabling

In some cases user might want to disable sliding feature. For example, if he wants to intercept all touches and movements in small panel by himself, but also he wants to expand\hide sliding panel programmatically.