slightly broken but still mostly workable code for lightening the screen