I have a container with several components. In the end of container, one submit button is placed. When i am scrolling down, it is showing the button. But if i left the scroll, it is again coming back to the top of the screen. So user is not able to press the submit button. So i want, when i scroll till the end of the container, it will stop there and show the button. So that i can press the button. Here is my container code:

Code:
{                                    xtype : 'container',
                                    id : 'dashboardiconcontainer',
                                    height: 800,
                                    scrollable : true,
                                    layout: 'vbox',
                                    items : [
                                            {
                                                xtype : 'container',
                                                id : 'topitembox',
                                                layout : {
                                                    type : 'hbox'
                                                },
                                                margin : '10 0 0 10',
                                                height : 50,
                                                items : [ {
                                                    xtype : 'textfield',
                                                    id : 'itemname',
                                                    labelWidth : '40%',
                                                    label : 'Name of the item',
                                                    width : 320
                                                }, {
                                                    xtype : 'textfield',
                                                    id : 'barcodtext',
                                                    width : 300,
                                                    margin : '0 0 0 10',
                                                    labelWidth : '40%',
                                                    label : 'Enter Barcode'
                                                }, {
                                                    xtype : 'button',
                                                    height : 40,
                                                    margin : '0 0 0 10',
                                                    id : 'scanbutton',
                                                    ui : 'orange',
                                                    width : '80',
                                                    text : 'scan barcode'
                                                } ]
                                            },


                                            {
                                                xtype : 'container',
                                                height : 160,
                                                id : 'cameraimagecontainer',
                                                margin : '10 0 0 10',
                                                layout : {
                                                    type : 'hbox'
                                                },
                                                items : [
                                                        {
                                                            html : '<img style="width:180px; height:150px;display:none;" id="capturedimage" src="" />'
                                                        },
                                                        {
                                                            xtype : 'container',
                                                            id : 'btncontainer',
                                                            width : 120,
                                                            margin : '0 0 0 10',
                                                            layout : {
                                                                type : 'vbox'
                                                            },
                                                            items : [
                                                                    {
                                                                        xtype : 'button',
                                                                        height : 73,
                                                                        cls : 'capturebtn',
                                                                        id : 'capturebtn',
                                                                        width : 100
                                                                    },
                                                                    {
                                                                        xtype : 'button',
                                                                        height : 73,
                                                                        margin : '10 0 0 0',
                                                                        cls : 'choosephotobtn',
                                                                        id : 'selectphoto',
                                                                        width : 100
                                                                    } ]
                                                        },


                                                        {
                                                            xtype : 'container',
                                                            id : 'additionalinfo',
                                                            margin : '10 0 0 10',
                                                            width : 400,
                                                            layout : {
                                                                type : 'vbox'
                                                            },
                                                            items : [
                                                                    {
                                                                        xtype : 'textareafield',
                                                                        height : 80,
                                                                        width : 380,
                                                                        id : 'additionalinfo',
                                                                        label : 'Add Additiona Details',
                                                                        labelWidth : '40%',
                                                                        placeHolder : ''
                                                                    },
                                                                    {
                                                                        xtype : 'selectfield',
                                                                        margin : '5 0 0 0',
                                                                        width : 300,
                                                                        label : 'Select Category',
                                                                        options : [
                                                                                {
                                                                                    text : 'Food',
                                                                                    value : 'first'
                                                                                },
                                                                                {
                                                                                    text : 'Sports',
                                                                                    value : 'second'
                                                                                },
                                                                                {
                                                                                    text : 'Electronics',
                                                                                    value : 'third'
                                                                                } ],
                                                                        labelWidth : '40%'
                                                                    },
                                                                    {
                                                                        xtype : 'textareafield',
                                                                        id : 'Addmoretag',
                                                                        margin : '10 0 0 0',
                                                                        width : 320,
                                                                        placeHolder : 'Add any other tags you want '
                                                                    },
                                                                    {
                                                                         xtype : 'button',
                                                                         height : 54,
                                                                         id : 'Addwishlog',
                                                                         margin : '10 0 0 0',
                                                                         ui : 'orange',
                                                                         width : 250,
                                                                         text : 'Add to my wishlog'
                                                                         }
                                                                    
                                                                    ]
                                                        } ]
                                            } ]

                                }


Please Help.