Adds opacity slider for vector layers.