clean up and resize buttons