add flexible space to bar