power state on host and css classes reorder