controlling pager and thumb layouts