SliderPanel addon

Hello,
I have a question about the addon SliderPanel, this is a very good addon, but when i want to display a grid, at the first time, it displays nothing, i should refresh the page to get the grid. Can somebody tell me why?
I want to display a template table in my search window: so in my class

public class SearchViewImpl extends HorizontalLayout

   [code]
 @Override
    public void init()
    {
        setMargin(false);
        setSpacing(false);
        setSizeFull();
        setCaption(this.getClass().getSimpleName());
        
        VerticalLayout layout = new VerticalLayout();
        
        start = new PopupDateField("From Date");
        start.setDateFormat("yyy-MM-dd");
        end = new PopupDateField("To Date");
        end.setDateFormat("yyy-MM-dd");
        
        layout.addComponent(start);
        layout.addComponent(end);
        

        channelType = new ComboBox("Channel type");
        List<CommonEnums.ChannelType> channelTypes = Arrays.asList(CommonEnums.ChannelType.values());
        channelType.addItems(channelTypes);
        layout.addComponent(channelType);
        
        
        channelNumber = new ComboBox("Channel number");
        List<CommonEnums.ChannelNumber> channelNumbers = Arrays.asList(CommonEnums.ChannelNumber.values());
        channelNumber.addItems(channelNumbers);
        layout.addComponent(channelNumber);
        
        callFromNumber = new TextField("Call From:");
        layout.addComponent(callFromNumber);
        
        callToNumber = new TextField("Call To:");
        layout.addComponent(callToNumber);

        btSearch = new Button("Search");
        layout.addComponent(btSearch);
        
        addComponent(layout);
        
        
        [b]
HorizontalLayout contentLayout = new HorizontalLayout();
        contentLayout.setSpacing(true);
        contentLayout.setSizeFull();
        CustomerTemplateGridComponent c = new CustomerTemplateGridComponent();
        c.setWidth(400,Unit.PIXELS);
//        c.setHeight(400,Unit.PIXELS);
        SliderPanel topSlider = new SliderPanel(c, SliderMode.TOP);
        topSlider.setCaption("Top Slider");
        topSlider.setTabPosition(SliderTabPosition.END);
        //topSlider.setSizeFull();
        topSlider.addStyleName(SliderPanelStyles.COLOR_BLUE);
        contentLayout.addComponent(topSlider);
        addComponent(contentLayout);
[/b]
        
        layout.setComponentAlignment(start, Alignment.MIDDLE_CENTER);
        layout.setComponentAlignment(end, Alignment.MIDDLE_CENTER);
        layout.setComponentAlignment(channelType, Alignment.MIDDLE_CENTER);
        layout.setComponentAlignment(channelNumber, Alignment.MIDDLE_CENTER);
        layout.setComponentAlignment(callFromNumber, Alignment.MIDDLE_CENTER);
        layout.setComponentAlignment(callToNumber, Alignment.MIDDLE_CENTER);
        layout.setComponentAlignment(btSearch, Alignment.BOTTOM_RIGHT);
        //layout.setComponentAlignment(contentLayout, Alignment.MIDDLE_RIGHT);
        layout.setMargin(true);
        layout.setSpacing(true);
        
        setExpandRatio(layout, 3);
        setExpandRatio(contentLayout, 1);
        
        btSearch.addClickListener(new Button.ClickListener() {

            /**
             *
             */
            private static final long    serialVersionUID    = 1L;

            @Override
            public void buttonClick(ClickEvent event)
            {
                try
                {
                    handler.search();
                }
                catch(Exception ex)
                {
                    ex.printStackTrace();
                }
                
            }
                
        });
        
    }
[/code]

Another question is: i want to display the slidepanel on the left of myweb page, but when i change the

SliderMode.TOP

to

SliderMode.RIGHT

, a part of the panel is always hidden.
Thanks.
20903.png
20904.png