Take a look at this topic:-
The solution offered by @PaulOB is a slightly different effect, but could be adapted.