added switch styles in css