added sidebar and map scalling