adding screenshot rotation. UNFINISHED