gradient and carousel fixes

fixes the issues with firefox not showing gradient and carousel correctly