handle unevently sized buttons