rename barXShift to comply with naming style