Simple js image slider. Currently only supports horizontal sliding.