frames automatic resize to optimal resolution added