slide and move a group at the same time

hello,

i’m a new in corona sdk, and i have a problem

i have to slide the widget who contains objects and i want to move objects who are in the slide bar

but i don’t know how to do

i want to dra

local widget = require( “widget” )

local scrollView

local icons = {}

local function iconListener( event )

    local id = event.target.id

    if ( event.phase == “moved” ) then

        local dx = math.abs( event.x - event.xStart ) 

        if ( dx > 5 ) then

            scrollView:takeFocus( event ) 

        end

    end

    return true

end

local function showSlidingMenu( event )

    if ( “ended” == event.phase ) then

        scrollView = widget.newScrollView

        {

            width = screenW,

            height = 100,

            scrollWidth = 1200,

            scrollHeight = 100,

            verticalScrollDisabled = true

        }

        scrollView.x = display.contentCenterX

        scrollView.y = 100

        local scrollViewBackground = display.newRect( 600, 50, 1200, 100 )

        --scrollViewBackground:setFillColor( 0, 0, 0)

        scrollView:insert( scrollViewBackground )

        --generate icons

        for i = 1, 20 do

            icons[i] = display.newCircle( i * 56, 50, 22 )

            icons[i]:setFillColor( math.random(), math.random(), math.random() )

            scrollView:insert( icons[i] )

            icons[i].id = i

            icons[i]:addEventListener( “touch”, iconListener )

        end

    end

    return true

end

Runtime:addEventListener(“touch”, showSlidingMenu)

can somemone help me plz