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

I'd like to resolve #2660 with this commit. It's a small fix, but by declaring t_top before it's passed to clearTimeout we can eliminate the numerous errors that are thrown when resizing the window.