adding tight layout and title to histogram widget