Update Reisize method
Improvement to check method
Add check for device orientation