made buttons to behave more consistently on different browsers