panning and elems edit