added sunroof function to open by any percent