tweaks and bug fixes to horizontal bar support