horizontal scrolling for snippets