finished preventing default behavior

added stop propgation and preventdefault to events