Updates for firefox rendering

Issue with carousel not rendering correctly. Fix for firefox did not
affect rendering in the other browsers