gallery buttonMode to hide them on end of slider added
fixes to methods