adding menu bar transition effect