updated css to show selected states