There probably are some having done something like that, but you won´t be able to do it with the templates.
As lostclimate and I already wrote, you need to code the behavior on your own.