formular for hover-effect