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
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.
Make background click optional, remove deprecated variables.
Merge branch 'master' of github.com:zurb/foundation
Update swipe events in clearing.
Remove duplicate event listener.
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
fix bug in singleCycle conditional