fixing selection not working on some touch devices