Doesn't work terribly consistently, but i wont have time to redo this soon, so i'll leave this here for anyone interested. Fyi: The Pony Version is much better.