Updated transtion to use transform instead of transitioning height