fix the layout of pallete view
double the number of pallete