Fixed pulling error

By adding a class that is aware of the state of the sticky headers list, from
http://stackoverflow.com/a/24266857