add slider in index page , fix named scope issue