Check that you have glycerol or sucrose in your loading dye to increase its density and that the pcr product and loading dye are well mixed before loading. Also sometimes if there is alcohol or too much detergent in a sample it may float out of the well