added screen wrapping feature