moved css changes to higher timer