image resize, header switch sides