button takes up empty space when preview is not being used