Cleaned up CSS changes for panels and layers