Make the id of the panels better

Make the hash shorter by using only the 10 first digits.
Also hash the key+value instead of only the value.