adding enable and disable functions for touch