added video hover transition, moved code from nav_script to main.js