Webcomponent for sliding content