removes unneccesary css selector to reduce number of paints to screen