bug (rotated screen) fixed, but.. now code looks like shit