updating back-to-top arrows; taken from airbnb/javascript