Changed resize trigger from interval to orientation