Fixed slider JS, added hover/selected classes