implemented display light handling