cleanup box directive in gesture.html