Refactor menu elements position.