prevents screen from dimming when a card is being displayed