buttons should get readded at the border side