Fixed layout transition (working with latest changes in API)