smooth brightness  change