added in carousel and fixed cross-browser issues