Fix broken slider (scripts were out of order)