refactored sidebar

Signed-off-by: Alex Izotov <martinandrudy@gmail.com>