Consider element margin and padding when calculating slide width.