changing value of window width for tablets