added refactored image tiling for search results and experimental magnifier feature