working with sidebar