trying to optimize picture preview for mobile