added classes for arrows and wrap for content