changed the look of the settings panels and the animation of them to a css one