disable sidebar on touch devices