Part 3: setting min/max borders on X & Y