fix range on sliders
query appropriate layer for attributes in add layer