You can just "sister" a 2x4 vertically to make a 3" wide top or you can do as you plan but put screws in the end of the vertical 2x4 so your flat one slips over it. Drill a hole that will just let the screw fit in and you can then take the roosts down for easy cleaning. You can use a nail and...