Captain Steve Smith frustrated England with a fighting half-century and pushed Australia to 165/4 at the close of a see-sawing day two, rescuing the hosts after a top-order collapse in the series-opening Ashes test in Brisbane on Friday.