resize images
fix tab misalignment caused by resize