Update foundation.topbar.js

Click event for top-bar while set as sticky causes the top-bar to disappear from view. added conditional to check if sticky is applied to top-bar nav

also removed reference to t_top for timeout on window resize to adjust for distance changes from window resizing. Caused errors saying that t_top is not defined.