now check for check when castling.