Move legend style to css file
Add slider