added slider for brightness