added option to toggle bar borders