next time, when you realize that you are bored, try repeating for yourself "bored, bored, bored, bored, ...". You can apply it to whatever else that may be bothering you: "sleepy, sleepy, sleepy, sleepy, ..."
Another suggestion: switch to standing meditation if you're sleepy.