A smart, responsive jQuery slider