added hide and getWidth methods to Legend and Title.  Legend display is now responsive depending on title width for top layout