Added a bit more logic to handle the false positive active states in ah-touch-active