makes top menu animation almost perfect