Added filter function to simplify that schnazz. Renamed some things. Still investigating why links transition in.