Fixed bug: in case that slide element's left or right margin is set to "auto"