added custom css classes to links containers
added custom css class to pagination wrapper div