Handle selection of feature on touchend

This fixes #1415