Add horizontal scroll logic for html markup.