Fix projects frontpage slider CSS issue.

#2522 

Not sure why that entire chuck of code was deleted and re-added, I blame phpstorm.