fixes #162 button bar not working in ios8