improved top menu animation