Re-factored homepage carousel code

Also moved hardware acceleration CSS to the right spot