Declares t_top variable before it's used on window resize.
Merge pull request #2661 from tklun/master

Fixes 't_top' is undefined error in foundation.topbar.js on window resize.