This happens all the time. I do it also. Watch the item, wait until there's about 1 minute remaining then watch it closely and bid 1 - 5 seconds before it ends.
I'm not sure, but what happens sometimes is that one of the bidders sets a max price, and once someone bids under the max, then it automatically bids higher than your bid.