detecct if mobile, choode asset definition
bgcolour
dont do rotate image stuff if desktop
refactor sd/hd determination