Changed approach for width resize for smaller screens