stopped selection of items on page by preventing default on the events