Zara Aleena's murder was 'opportunistic', appeal court told