fixing spacing under search buttoms and right alignment of give leaf