Adding a few javascript functions that we use a lot

scroll to, and sticky nav