top menu implementation