added js to make fit the width of phone