Change order of event binding. Resolves issue with touch events not firing on iOS 5.