formatting sidebar