Fix regroup button when mobile

issue #1304