dont add per_page if slider = 0
add required/optional css to panel.css