Try to use buttons instead of anchors