Epub display detection added for some layouts