Help please

So last night my LO woke up and in 30 secs of me hearing here and going to check and she was half way out about to fall out of her crib by climbing head first and it freaked me out... the mattress in the crib is all the way down and I don’t want her to fall out should I move her to a toddler bed/ twin bed now since she tried and almost successfully climb out of the crib and hurt herself?