add bar shade support.