template adjustment for medium screens view