drawer template code now calculates its own size
adding drawer template file