fix day traversal

<a> tag events need to prevent the default behavior