change pixel layout