implement resize : smart phone orientaring