Fixed position slider not updating