Added Mobile Detect variable in the smarty view class