Implementation of a 3-option menu bar with floating transition