preventDefault event on link based toggle