add square occupied CSS class