[minor] move logic so every registered css is properly supplied with poll id