fixed bug in slider
fixed navigation bug