fixing equation that jumps around on hover