Added the functionality to creat non-equilateral

With the advanced triangle you can make whatever type of triangles you want. You decide the length of each side, so you can make nonequilateral triangles. The rotation argument is meant to rotate the triangles so you can play as much as you want! See the example in action, to get a tiny clue of it's big potential
Add check for Scroll Position before Scroll

I came across this recently and it seems like a good idea (eg, I've added it to my own site). This checks the scroll position before scrolling in order to avoid doing the "hide address bar" scroll when the user has already begun scrolling (which would then be quite annoying to get forced back to the top of the page). This code also has the additional benefit that if the page is scrolled part way and then manually refreshed/reloaded it should refresh at its proper scroll position instead of jumping back to the top.

Credits:
https://gist.github.com/1183357
http://24ways.org/2011/raising-the-bar-on-mobile
In large screens we may hit the bottom of the page and dont reach the top of the last magellan-destination, so lets force it

Also did some elm caching
Allow foundationButtons method to be safely called on any element

Prevent duplicate event binding by only binding if the current element
is document.

This allows activation of dropdown buttons that were added to the DOM
after initialization by calling $('#myelement').foundationButtons()
after insertion.

Also, includes bugfix where preventDefault was being incorrectly called
when clicking a descendent of a link (e.g. an embedded <img>).
Fix dropdown button positioning

-- Timing issues caused intermittent miscalculation of button height,
   resulting in inproper placement of dropdown. Ensuring dom is loaded
   fixes that.
Refactor hiddenFix and use it for button dropdowns

-- Button dropdowns rely on outerHeight to determine proper
   placement of list below button. When the button is hidden on
   the page, the calculation fails. Code to adjust for this
   already exists in foundation.forms.
-- Refactor "hiddenFix" from a private function inside foundation.forms
   to an object in a new module, foundation.utils.
-- Include foundation.utils in index.js so it's available to
   the rest of the codebase.
-- Use hiddenFix to properly calculate size of button dropdowns
-- Revert previous change of putting the caculation inside document
   ready.
Fix event propagation

-- Make sure the click is for the button and not one of it's
   children before stopping event propagation. This allows for
   users to have things other than links in the dropdown list.
Handle different cases of input placement regarding the label for custom radio and checkboxes
give all slides opacity:0 to start

Slides don't receive opacity attribute until cycled through once. If
first slide is transparent, other slides show through.
Fix for non-links inside rounded button groups

If an element inside a rounded button groups is not a link (spans, button, etc) it still has full border radius.
Revert "added important to .hide so it overrides everything, fixes #939"

Breaks jQuery show() & toggle() which rely on setting the inline style display=block.

The jQuery inline style will be overridden by the important! display: none style in this commit.

This reverts commit 06151af561e9cee0b937651066d4e5038c21f0e9.
Fix Custom Select Arrow Box Height Issue

It seems that the following `30px` (which makes the little box with the dropdown arrow _taller_ than the rest of the dropdown) might be a mistake (perhaps missed during a previous change?):
```css
/* Correct FF custom dropdown height */
@-moz-document url-prefix() {
  form.custom div.custom.dropdown a.selector { height: 30px; }
}
.lt-ie9 form.custom div.custom.dropdown a.selector { height: 30px; }
```
https://github.com/zurb/foundation/blob/master/scss/foundation/common/_forms.scss#L115

It looks like it should be `28px` as it is earlier in the code (eg, https://github.com/zurb/foundation/blob/master/scss/foundation/common/_forms.scss#L72 and following lines)?

This Pull Request changes fixes this.
Use Modernizr to check for touch events before binding swipe events.
Merge conflicts.
fixed a bug where custom forms did not respect any custom disable_class option and changed the default class to disble custom inputs
Trigger orbit events on swipe.
Remove console.log.
Merge pull request #1217 from nathantsoi/master

Bring back jQuery show() and toggle()
Update scss/foundation/common/_globals.scss
Added support for a login box in the top nav bar
Added separate test to demonstrate login box in place of search box