Adding ui-corner-top to the header div when the title div is hidden

Adding and removing ui-corner-top from the header div when the tile div
is hidden/shown - this means that the rounded corners don't look cut off
at the top.
Merge pull request #608 from meh-uk/corners-not-rounded

Adding ui-corner-top to the header div when the title div is hidden