Implement the front page dynamic hover styling function.