Fix margin and slider for ios5