Hosts overcome second-innings wobble to move into strong position after two days at Hove