transition property not applying after changing it via js - Kevin Powell - Community