refactor(css+js): transitions