Improved pagination template
Renamed type to style in menu template

style is also used in pagination and forms