refactor thumbnail page components for integration with bootstrap grid