limit the is_phone width threshold to 768px to make it work on iPad when in portrait mode