changed slide resize to use parent width instead of slide width