make the css work properly for showing/hiding controls