Changed checkAsideExpose() to onResize()