allow styling based on open state