If you remove the stems growing away from your fence, energy will automatically be diverted to the others which are where you want them. Tie these remaining stems in as horizontally as possible as this will encourage the formation of flowers. Every spring you need to repeat the process to keep the shape and, once they're established, you'll need to remove a main stem occasionally to encourage the plants to renew their vigour.