fixed problem hiding layer opacity slider.

fixes #127