pagination template - code cleanup & proper defaults for dropdown menu
Workaround for mobile FF to fix scroll on page change