readme gif link fix
readme fix
separated slider event logic
added var statement to globals