Improving the lateralmenu animation