making the on-hover effects for links work better