Use outerHeight(true) for top-bar height

outerHeight(true) includes padding, margin and border