added toggle for bottom bar