apply rotation upon opening