make avatar in the middle of the bar