setting timeout to dim screen