This is how the right side connects to the wall
This is how the left side connects to the wall

This shows how where the nail should be placed for the right side to keep it in the right position

This shows how where the nail should be placed for the left side to keep it in the right position