made hideButtons default to true instead of false