Smoothly scroll to an element without a jquery plugin.