1. When you are putting your jeans (or shorts) together, assemble the front and back pieces separately.
2. Sew the front and back together at the inseam and topstitch seam allowances towards the back.
3. Sew the outseams together. Topstitch seam allowances towards back only to the base of the pocket. This is exactly how manufactured jeans are topstitched!