Added preview functionality to mobile