make templates a bit responsive