This is my exiting hand from my home game last night

, it's not a whinge but i wanted to know if my play was poor and i'm interested in hearing people's opinions on this.
We had two tables of 6 and we had been playing for about an hour. The villain seems to only play when he has a hand and i haven't seen him bluff. He is also inexperienced. The hero may have a bit of a wild image because he has been aggressively reraising people however this is because he has had a good run of cards. On one occasion he reraised another player preflop who folded and he showed pocket queens. On another occasion he check raised all in and showed that he had flopped two pairs.
Blinds 20/40.
Stacks; Hero 1340, Villain 1340.
Villain is UTG+1 and raises to 80.
Hero is on the BB, looks down and finds

and reraises to 320.
Villain calls.
Flop;

Hero bets 500, Villain calls
Turn;

Hero Checks, Villain Checks
River;

Hero pushes all in for his remaining 520.
At this point the villain thinks for ages (accompanied by the usual home game shouts of 'call, call'), calls and then flips over

Was this bad/good/stupid play by me? Was the continuation bet too large? Given the early stages of the tournament should i have called, seen a flop and then ditched the hand if i hadn't improved?