jQuery slider finally done

Totally changed my logic because it was quite too complex