change css on fly