Add option autoCollapse to close controls after delay on touch devices

Fixes #2713