Nav bar CSS fixes

Fixed nav bar hover feature. Also fixed instances where a nil variable
was being accessed.