Added gradual scrollaway for sticky headers
Adding more documentation and cleaning up unused code