mobile navbar active state test for touch