Separated menu data from visual abstraction. Added adjustment for overflow position.