extra work on scroll wheel and templates