Image slider using simple jquery APIs