Effects of current profile on the ideal ballooning mode