fix(modal): Improve slide-up/down animations, remove flickers