fixed js transition distances