flexible position of button in markup