center slider with margin on each side