add bar image and layout bar UI