Replicate scroll menu

Found this awesome site in the showcase.


I’m trying to replicate the sidebar scroll menu.
Im able to do the line menu but how do I achieve the text to get changed and get highlighted when i hover over the number?

Help is much appreciated