detecting browser width and device - a start