switch to tablet format ref box based on device width, set to 1024px